.header{
    width: 100%;
    height:60px;
    position: relative;
    background-color: #227eaa;
    z-index: 1000;
    margin-bottom: 15px;
}
body{
    background-color: #f5f5f5;
    font-family: "Apple LiGothic Medium,Microsoft YaHei","微软雅黑","Arial","sans-serif";
    font-size: 14px;
    color:#4e4e4e;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    line-height: 1.8em;
    position: relative;
    min-height: 100vh;

}

body::after{
    content: '';
    height: 60px;     /*.footer 的高度*/
    display: block;
}
.header *{
    color: #fff !important;
}

.header .logopic img{
    display: inline-block;
    width: 50px;
}

.header .title{
    display: inline-block;
    padding: 16px 10px;
}

.header .layui-nav{
    background: none;
}
.layui-nav .layui-nav-item a:hover{
    color: blue !important;
}

.footer{
    width: 100%;
    height:60px;
    background-color: #227eaa;
    z-index: 1000;
    padding: 22px 0;
    text-align: center;
    margin-top: 15px;
    position: absolute;
    bottom: 0;
}

@media screen and (min-width: 1400px) {
    .layui-container {
        width: 1170px !important;
    }
}

/*搜索框*/
.side-search {
    background-color: #fff;
    box-sizing: border-box;
    padding:10px 5px;
    border-radius: 5px;
    margin-bottom: 15px;
    min-height: 40px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}
.side-search .layui-input{
    height: 30px;
    width: 170px;
    margin-right: 2px;
}

/*该图片样式*/

.side-avata{
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px 5px;
    border-radius: 5px;
    min-height: 100px;
    position: relative;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}
.side-avata-bg{
    margin: 0;
    padding: 0;
    width: 100%;
}
.side-avata-bg img{
    height: 150px;
    width: 150px;
}

#adminlogin{
    display: inline-block;
    position: absolute;
    top: 112px;
    left: 34%;
}

#adminlogin img{
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 4px solid rgba(220,195,195,0.4);
    transition: transform 0.25s;
}
#adminlogin img:hover{
    transform: rotate(360deg);
}

.side-avata .link{
    text-align: center;
}

.side-avata .link a {
    display: inline-block;
    padding: 10px 20px;
    color: #666;
}

/*文章分类样式*/
.side-categorys{
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    overflow: hidden;
    min-height: 100px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}
.side-categorys ul {
    overflow: hidden;
}
.side-categorys ul li {
    padding: 5px 0;
}
.side-categorys ul span{
    float: right;
}


/*最新文章*/
.side-newposts{
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    overflow: hidden;
    min-height: 100px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}
.side-newposts a {
    word-break: break-all;
}


/*文章标签样式*/
.side-tags{
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px 20px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    min-height: 100px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}
.side-tags div a {
    margin: 0 0 5px 0 !important;
    white-space: nowrap;   /*文章不换行*/
    text-overflow: ellipsis;
    overflow: hidden;
}

/*公共标题样式*/
.side-title{
    border-bottom: 1px solid #eee;
    width: 100%;
    color: #666;
    padding-bottom: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    font-weight: 400;
}